Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 7 - Transform Objects / Transform Objects Reference
Transform Objects Routines / Creating and Manipulating Rotate-About-Axis Transforms


Q3RotateAboutAxisTransform_SetOrigin

You can use the Q3RotateAboutAxisTransform_SetOrigin function to set the origin of the axis of rotation of a rotate-about-axis transform.

TQ3Status Q3RotateAboutAxisTransform_SetOrigin (
TQ3TransformObject transform, 
const TQ3Point3D *origin);
transform
A rotate-about-axis transform.
origin
The desired origin of the axis of rotation of the specified rotate-about-axis transform.
DESCRIPTION
The Q3RotateAboutAxisTransform_SetOrigin function sets the origin of the axis of rotation for the rotate-about-axis transform specified by the transform parameter to the value passed in the origin parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996